package com.kayt.cyberBar.cyber.business.entity.po;

import com.kayt.cyberBar.common.base.BaseEntity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the b_cyber_chain_info database table.
 * 
 */
@Entity
@Table(name="b_cyber_chain_info")
@NamedQuery(name="BCyberChainInfo.findAll", query="SELECT b FROM BCyberChainInfo b")
public class BCyberChainInfo extends BaseEntity {
	private static final long serialVersionUID = 1L;
	private Long id;
	private String address;
	private String code;
	private String legalPerson;
	private String status;
	private String name;
	private String tel;

	public BCyberChainInfo() {
	}


	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}


	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}


	public String getStatus() {
		return status;
	}


	public void setStatus(String status) {
		this.status = status;
	}


	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}


	@Column(name="LEGAL_PERSON")
	public String getLegalPerson() {
		return this.legalPerson;
	}

	public void setLegalPerson(String legalPerson) {
		this.legalPerson = legalPerson;
	}


	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

}